package com.ruoyi.common.entity;


import lombok.Data;

@Data
public class AuthEntity {


    private String token;

    private String refreshToken;

    UserEntity userEntity;


    @Override
    public AuthEntity clone() {
        AuthEntity entity = new AuthEntity();
        entity.setToken(this.token);
        entity.setRefreshToken(refreshToken);
        entity.setUserEntity(userEntity);
        return entity;
    }

}
